package com.xuecheng.api.content.model;

import com.xuecheng.api.content.model.dto.CourseTeacherDTO;
import com.xuecheng.api.content.model.vo.CourseTeacherVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

import java.util.List;

/**
 * <p>
 * 教师基本信息Api接口
 * </p>
 *
 * @Description:
 */
@Api(value = "课教师基本信息Api接口", tags = "课程-教师信息Api接口", description = "教师信息Api接口")
public interface CourseTeacherApi {
    @ApiOperation(value = "根据id查询教师信息")
    @ApiImplicitParam(name = "courseBaseId", value = "课程基本信息ID", required = true, dataType = "Long", paramType = "path", example = "1")
    CourseTeacherDTO getCourseTeacher(Long courseBaseId);

    @ApiOperation(value = "新增或修改教师数据")
    @ApiImplicitParam(name = "courseTeacherVO", value = "教师信息VO",
            required = true, dataType = "courseTeacherVO", paramType = "body")
    CourseTeacherDTO AddOrModifyTeacher (CourseTeacherVO courseTeacherVO);

    @ApiOperation("课程教师删除")
    @ApiImplicitParam(name = "courseBaseId", value = "课程id值", required = true, paramType = "path")

    Boolean deleteTeacher(Long courseBaseId,Long courseTeacherId);
}
